package cn.zyx.product.mapper;

import cn.zyx.basic.mapper.BaseMapper;
import cn.zyx.product.domain.Product;

import java.util.Map;

public interface ProductMapper extends BaseMapper<Product>{

    /**
     * 批量上架
     * @param map
     */
    void onSale(Map<String, Object> map);

    /**
     * 批量下架
     * @param map
     */
    void offSale(Map<String, Object> map);
}
